package com.guigu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 商品类型表
 * </p>
 *
 * @author Mr.Zhang
 * @since 2025-03-12
 */
@Data
@TableName("product_type")
public class ProductType implements Serializable {

    private static final long serialVersionUID=1L;

    //@ApiModelProperty(value = "类型id，主键，自增")
      @TableId(value = "type_id", type = IdType.AUTO)
    private Integer typeId;

    //@ApiModelProperty(value = "类型名称")
    private String typeName;

    //@ApiModelProperty(value = "父级类型id")
    private Integer parentId;

    //@ApiModelProperty(value = "类型级别，1表示一级分类，2表示二级分类")
    private Integer level;

    //@ApiModelProperty(value = "是否删除，C001-1（未删除）、C001-2（已删除）")
    private String status;


}
